package com.wxsoft.business.physic.pojo;

import java.util.Date;
import java.math.BigDecimal;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;

public class PsDispensaryStock {
	private String id;
	private String unit_id;
	private String physic_code;
	private String physic_std_code;
	private BigDecimal quantity;
	private BigDecimal temp_quantity;
	private BigDecimal in_price;
	private BigDecimal trade_price;
	private BigDecimal retail_price;
	@JSONField (format="yyyy-MM-dd HH:mm:ss") 
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
	private Date last_update;
	private String batch_number;
	private String validity;

	private String physic_name;
	
    public String  getId() {
        return id;
    }
    
    public void  setId(String id) {
        this.id = id;
    }
    
    public String  getUnit_id() {
        return unit_id;
    }
    
    public void  setUnit_id(String unit_id) {
        this.unit_id = unit_id;
    }
    
    public String  getPhysic_code() {
        return physic_code;
    }
    
    public void  setPhysic_code(String physic_code) {
        this.physic_code = physic_code;
    }
    
    public String  getPhysic_std_code() {
        return physic_std_code;
    }
    
    public void  setPhysic_std_code(String physic_std_code) {
        this.physic_std_code = physic_std_code;
    }
    
    public BigDecimal  getQuantity() {
        return quantity;
    }
    
    public void  setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }
    
    public BigDecimal  getTemp_quantity() {
        return temp_quantity;
    }
    
    public void  setTemp_quantity(BigDecimal temp_quantity) {
        this.temp_quantity = temp_quantity;
    }
    
    public BigDecimal  getIn_price() {
        return in_price;
    }
    
    public void  setIn_price(BigDecimal in_price) {
        this.in_price = in_price;
    }
    
    public BigDecimal  getTrade_price() {
        return trade_price;
    }
    
    public void  setTrade_price(BigDecimal trade_price) {
        this.trade_price = trade_price;
    }
    
    public BigDecimal  getRetail_price() {
        return retail_price;
    }
    
    public void  setRetail_price(BigDecimal retail_price) {
        this.retail_price = retail_price;
    }
    
    public Date  getLast_update() {
        return last_update;
    }
    
    public void  setLast_update(Date last_update) {
        this.last_update = last_update;
    }
    
    public String  getBatch_number() {
        return batch_number;
    }
    
    public void  setBatch_number(String batch_number) {
        this.batch_number = batch_number;
    }
    
    public String  getValidity() {
        return validity;
    }
    
    public void  setValidity(String validity) {
        this.validity = validity;
    }

	public String getPhysic_name() {
		return physic_name;
	}

	public void setPhysic_name(String physic_name) {
		this.physic_name = physic_name;
	}
    
}